import request from '@/utils/request.js'

const getUserInfoAPI = () => {
  return request({
    method: 'get',
    url: '/my/userinfo'
  })
}
const getMenusAPI = () => {
  return request({
    method: 'get',
    url: '/my/menus'
  })
}

export { getUserInfoAPI, getMenusAPI }
